/*common css for wap page*/
/* Normalize */

html, body, ul, ol, img, p, input, button {
    margin: 0;
    padding: 0;
}

html, body {
    font-family: -apple-system-font, 'Microsoft Yahei',"Helvetica Neue", Helvetica, STHeiTi, sans-serif;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* Removes webkit border when the element is on focus */
a, a:active, a:focus,
button, button:active,
input, input:focus,
select, select:focus,
textarea, textarea:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

a {
    text-decoration: none;
    color: #0079FF;
}

ol, ul  {
    list-style: none;
}

/* /Normalize */
.ui-app {
background-color: rgb(246, 246, 245);
margin: 0;
padding-bottom:50px;
}
/* Panel */
.ui-panel {
    margin-bottom: 20px;
    padding: 10px 12px;
    font-size: 15px;
    background: #FFF;
    border-style: solid;
    border-color: #e5e5eb;
    border-width: 1px 0 1px 0;
}
/* message style*/
.ui-message{
	height:auto;
	max-width: 80%;
	margin:auto;
	position:fixed;
	left:0;
	right:0;
	top: 50%;
	margin-top: -10px;
	padding: 10px;
	border-radius: 5px;
	background-color: #34495E;
	color: white;
	text-align:center;
	opacity: 0;
	z-index: 0;
	transition: .5s all ease-in;
	visibility: hidden;
}
.ui-message.success{
	background-color: #16A085;
}
.ui-message.warning{
	background-color: #F1C40F;
}
.ui-message.error{
	background-color: #E74C3C;
}
.ui-message.info{
	background-color: #3498DB;
}
.ui-message.on{
	z-index: 10000;
	visibility: visible;
	opacity: 0.8;
}
.ui-modal-overlay{
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(155, 155, 155, 0.41);
z-index: 10000;
opacity: 0;
visibility:hidden;
-webkit-transition-duration: 400ms;
transition-duration: 400ms;
}

.ui-modal-overlay.visible{
opacity: .5;
visibility:visible;
}
#h5Indicator{
	position: fixed;
	left:50%;
	top:50%;
	margin-top:-40px;
	margin-left:-40px;
	border-radius:10px;
	background:rgba(0,0,0,.8);
	width:80px;
	height:80px;
	z-index:10001;
}
#h5Preloader{
	position: fixed;
	left:50%;
	top:40%;
	margin-top:-40px;
	margin-left:-120px;
	border-radius:10px;
	background:rgb(190, 190, 190);
	width:240px;
	height:80px;
	padding:10px;
	z-index: 10002;
}
#h5Preloader>.spin{
	height:40px;
	position:relative;
}
#h5Preloader>.text{
	color:#333;
	text-align:center;
	padding: 5px 0px 10px;
}
/** Begin List */
.ui-caption {
    margin: 18px 0 5px;
    padding: 0 12px;
    line-height: 24px;
    font-size: 14px;
    color: #7c7b83;
    -wbkit-text-shadow: 0 1px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px rgba(255, 255, 255, 0.2);
}

.ui-list {
    margin-bottom: 20px;
    padding-bottom: 1px;
    background: white;
    border-style: solid;
    border-color: #e5e5eb;
    border-width: 1px 0 1px 0;
}

.ui-list .ui-item {
    position: relative;
    margin-left: 12px;
    list-style-type: none;
    font-weight: 500;
    font-size: 17px;
    line-height: 20px;
    color: #000;
}

.ui-list .ui-item+.ui-item {
    border-top: 1px solid #e5e5eb
}

/* Link item */
.ui-list .ui-item > a {
    display: block;
    position: relative;
    margin-left: -12px; /* Why negative value? parent element has marin-left 12px */
    padding: 10px 12px;
    color: #000;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	padding-right: 20px;
}

.ui-list .ui-item > a.js-active {
    z-index: 1;
    color: #fff;
    background: #2087fc;
}

.ui-list .ui-item:after {
    position: absolute;
    z-index: 2;
    top: -1px;
    bottom: -1px;
    width: 42px;
    line-height: 42px;
    font-size: 32px;
    color: white;
    text-align: center;
}

.ui-item.deleting:after {
    content: "Delete";
    right: 0;
    line-height: 40px;
    background: #fd3c31;
}

.ui-item .ui-right {
    font-size: 14px;
    position: absolute;
    text-align: right;
    right: 34px;
}

.ui-item .ui-red-dot {
    position: absolute;
    top: 16px;
}

/*  A list-level or item-level class, cool? Yeah! */
.ui-list.arrow-right > .ui-item:after, .ui-item.arrow-right:after {
    color: #CCC;   /* This color some with border color */
    content: "";
    position: absolute;
    top: 21px;
    right: 20px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    -webkit-transform: rotate(45deg);
}

.ui-list.arrow-right > .ui-item.js-active:after, .ui-item.arrow-right.js-active:after {
    color: #fff;
}

.ui-list.icon-left .ui-icon {
    position: absolute;
    left: 8px;
    top: 6px;
    width: 25px;
    height: 25px;
}

.ui-list.icon-left > .ui-item {
    padding-left: 40px;
}

.ui-title-item {
    position: relative;
    padding: 0 12px;
    margin: 0;
    font-size: 14px;
    line-height: 26px;
    color: #000;
    background: #f5f5f5;
    border: 1px solid #e5e5eb;
    border-width: 1px 0;
    box-shadow: none
}

.ui-title-item:first-child {
    border-top-width: 0
}
/* END List */
.ui-top-bar, .ui-bottom-bar {
    /* hairline, using a 1x2px image */
    background-image: url();
    background-repeat: repeat-x;
    background-color: rgb(250, 250, 250);
    background-size: 100% 1px; /* Scale image by background-size */

    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 3;

    height: 48px;
}

.ui-flexbox, .ui-bottom-bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.ui-top-bar {
    top: 0;
    background-position: bottom left;
}

.ui-bottom-bar {
	font-family: microsoft yahei;
    bottom: 0;
    background-position: top left;
}

/* Bottom-bar under the app node */
.ui-bottom-bar ~ .ui-page > .ui-page-content {
    /*margin-bottom: 50px;*/
    border-bottom: 48px solid transparent;
}

/* Top-bar under the app node */
.ui-top-bar ~ .ui-page > .ui-page-content {
    /*margin-top: 50px;*/
    border-top: 48px solid transparent;
}

.ui-page {
    display: none;
    /* TODO Why page is absolute? performance mater */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;

    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
}

.ui-page.js-active {
    display: block;
}

.ui-page-content {
    z-index: 2;
}

.js-no-overflow-scrolling .ui-page {
    position: static;
}

/* /Skeleton */

/* Bottom Bar */

.ui-bottom-bar-button {
    border: none;
    outline: none;
    padding: 2px 0;
    background-color: transparent;
    color: rgb(111, 111, 116);
    text-align: center;
}

.ui-flex-1, .ui-bottom-bar-button {
    /* Hack flex box not work on some android devices like Xiaomi 2 */
    display: block;
    /* Avoid use margin under the flex box element */
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

.ui-bottom-bar-button .ui-icon {
    display: block;
    background-color: transparent;
	height: 24px;
	line-height: 24px;
    color: rgb(111, 111, 116);
    font-size: 24px;
    text-align: center;
    padding: 2px 0;
}

.ui-bottom-bar-button .ui-label {
    display: block;
    font-size: 12px;
    line-height: 12px;
    padding: 2px 0;
}

.ui-bottom-bar-button.js-active {
    color:rgb(21, 125, 251);
}

.ui-bottom-bar-button.js-active .ui-icon {
    color:rgb(21, 125, 251);
}

/* /Bottom Bar */

/* Utils */

@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .ui-1dpx-t, .ui-1dpx-b, .ui-1dpx-tb {
        background-size: 100% 1px;
    }

    .ui-1dpx-t {
        background: -webkit-gradient(linear,left bottom,left top,color-stop(.5,rgba(0, 0, 0, 0)),color-stop(.5,#C8C7CC),to(#C8C7CC))left top repeat-x;
        border-top: 0;
    }

    .ui-1dpx-b {
        background: -webkit-gradient(linear,left top,left bottom,color-stop(.5,rgba(0, 0, 0, 0)),color-stop(.5,#C8C7CC),to(#C8C7CC))left bottom repeat-x;
        border-bottom: 0;
    }

    .ui-1dpx-tb {
        background: -webkit-gradient(linear,left bottom,left top,color-stop(.5,rgba(0, 0, 0, 0)),color-stop(.5,#C8C7CC),to(#C8C7CC))left top repeat-x,-webkit-gradient(linear,left top,left bottom,color-stop(.5,rgba(0, 0, 0, 0)),color-stop(.5,#C8C7CC),to(#C8C7CC))left bottom repeat-x;
        border-top: 0;
        border-bottom: 0;
    }
}

.ui-ignore-space {
    font-size: 0;
}

.ui-no-wrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ui-red {
    color: rgb(250, 60, 60) !important;
}

.ui-gray {
    color: #808080 !important;
}
.ui-green {
    color: #2AA92A !important;
}
.ui-red-dot, .ui-blue-dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
}

.ui-red-dot {
    background: rgb(250, 60, 60) !important;
}

.ui-blue-dot {
    background: #0079FF !important;
}

.ui-right {
    float: right !important;
}

.ui-left {
    float: left !important;
}

.ui-block {
    display: block !important;
}

.ui-inline-block {
    display: inline-block !important;
}

.ui-red-counter, .ui-blue-counter  {
    position: absolute;
    top: -9px;
    right: -9px;

    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 4px;
    font-size: 13px;
    color: #FFF;

    text-align: center;

    z-index: 3;
    border-radius: 18px;
}

.ui-red-counter {
    background: rgb(250, 60, 60);
}

.ui-blue-counter {
    background: #2087fc;
}
/* /Utils */
/* Button */

.ui-button {
    display: inline-block;

    border-radius: 3px;
    padding: 6px 10px;
    margin: 4px 0;
    border: 1px solid #0079FF;
    color: #0079FF;
    font-size: 13px;
    line-height: 13px;
    text-align: center;
    background-color: transparent;

    -webkit-appearance: none;
    text-decoration: none;
    -webkit-box-sizing: border-box;
}

.ui-button:active {
    color: #fff;
    background: #0079FF;
}

.ui-button[disabled]{
    pointer-events: none;
    color: #a6a6a6;
    border-color: #a6a6a6;
    background: #fff;
    opacity: 0.6;
}

.ui-button.ui-block {
    height: 44px;
    padding: 10px;
    font-size: 17px;
    line-height: 17px;
    display: block;
    width: 100%;
}

.ui-info {
    color: white;
    background: #0079FF;
    border-color: #0079FF;
}

.ui-info:active {
    opacity: 0.4;
}

.ui-success {
    color: white;
    background: #46ca5e;
    border-color: #46ca5e;
}

.ui-success:active {
    background: #46ca5e;
    border-color: #46ca5e;
    opacity: 0.4;
}

.ui-danger {
	color: white;
    background-color: #fc4226;
    border-color: #fc4226;
}

.ui-danger:active {
    color: #fff;
    background: #fc4226;
	opacity: 0.4;
}

.ui-default{
	color:white;
	background-color:rgb(111, 111, 116);
	border-color:rgb(111, 111, 116);
}
.ui-default:active{
	color: #fff;
	background-color:rgb(111, 111, 116);
	border-color:rgb(111, 111, 116);
	opacity: 0.4;
}
.ui-warning{
	color:white;
	background-color:rgb(226, 231, 33);
	border-color:rgb(226, 231, 33);
}
.ui-warning:active{
	color: #fff;
	background-color:rgb(226, 231, 33);
	border-color:rgb(226, 231, 33);
	opacity: 0.4;
}
/* /Button */

/* Group Button */

.ui-groupbutton {
    display: table;
    font-size: 1em;
    border-color: rgba(0, 0, 0, 0);
    white-space: nowrap;
    margin: 10px auto;
}

.ui-groupbutton .ui-button {
    display: table-cell;
    margin: 0;
    min-width: 70px;
    border-width: 1px 0 1px 1px;
    border-radius: 0;
    position: relative;
    float: left; /* Hack for iOS 4.3 that make position: relative work right */
}

.ui-groupbutton .ui-button:active {
    color: #0079FF;
    background-color: #D3E5F9;
}

.ui-groupbutton .ui-button.js-active {
    color: #fff;
    background: #0079FF;
}

.ui-groupbutton .ui-button:first-child {
    border-radius: 3px 0 0 3px;
    border-right-width: 0;
}

.ui-groupbutton .ui-button:last-child {
    border-radius: 0 3px 3px 0;
    border-width: 1px;
}

/* Gray Style */

.ui-groupbutton.ui-gray .ui-button{
    color: rgb(128, 128, 128);
    border-color: rgb(128, 128, 128);
}

.ui-groupbutton.ui-gray .ui-button:active {
    background-color: rgb(230, 230, 230);
}

.ui-groupbutton.ui-gray .ui-button.js-active {
    color: #fff;
    background: rgb(128, 128, 128);
}
/* /Group Button */

/* Alert */

/* positioning shell for the actual modal */
.ui-alert {
    border-radius: 10px;
    width: 280px;

    position: absolute;
    top: 50%;
    left: 50%;

    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);

    opacity: 0;

    /* visibility: hidden; */   /* I don't know why on iOS 4.3 visibility: visible is not work */

    backface-visibility: hidden;
    background-color: #ECECEC;

    -webkit-transition: 300ms;
    transition: 300ms;

}

.ui-dialog.js-show > .ui-alert{
    opacity: 1;
    visibility: visible;

    -webkit-transform: translate3d(-50%, -50%, 0) scale(1) !important;
    transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

.ui-alert-header,
.ui-alert-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.ui-alert-header {
    margin-top: 15px;
}

.ui-alert-title {
    position: static;
    text-align: center;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.ui-alert-body {
    margin: 15px;
    font-size: 14px;
    text-align: center;
}

.ui-alert-footer {
    width: 100%;
    padding: 0;
}

.ui-alert-button {
    display: block;
    max-width: 280px;
    width: auto;
    margin: 0;
    padding: 8px 0px;
    border: 0;
    border-top: solid 1px #b5b5b5;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;

    position: relative;

    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;

    color: #167efb;
    background-color: rgba(255, 255, 255, 0.01);
    transition: background-color .1s ease-in-out;
}

.ui-alert-button + .ui-alert-button {
    border-left: solid 1px #b5b5b5;
}

/* /Alert */

/* Notify  TODO */
.ui-notify {
    border: 0;
    border-radius: 0 0 5px 5px;

    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;

    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-transition: 300ms ease-in-out;
    transition: 300ms ease-in-out;

    /*visibility: hidden;*/  /* I don't know why on Android 4.0.3 visibility: visible make it not work */
    backface-visibility: hidden;

    opacity: 0;

    background: rgba(0, 0, 0, 0.5);

    color: #fff;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}

.ui-dialog.js-show > .ui-notify {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0) rotateX(0deg) !important;
    transform: translate3d(0, 0, 0) rotateX(0deg) !important;
}
/* /Notify */
/*list*/
/* === Lists === */
.list-block {
  margin: 35px 0;
  font-size: 17px;
}
.list-block ul {
  background: #ffffff;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #c8c7cc;
  border-bottom: 1px solid #c8c7cc;
  position: relative;
}
.list-block ul ul {
  border-top: none;
  border-bottom: none;
  padding-left: 45px;
}
.list-block .align-top,
.list-block .align-top .item-content,
.list-block .align-top .item-inner {
  -webkit-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}
.list-block.inset {
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 7px;
}
.list-block.inset .content-block-title {
  margin-left: 0;
  margin-right: 0;
}
.list-block.inset ul {
  border-radius: 7px;
  border-top: none;
  border-bottom: none;
}
.list-block.inset li:first-child > a {
  border-radius: 7px 7px 0 0;
}
.list-block.inset li:last-child > a {
  border-radius: 0 0 7px 7px;
}
.list-block.inset li:first-child:last-child > a {
  border-radius: 7px;
}
@media all and (min-width: 768px) {
  .list-block.tablet-inset {
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 7px;
  }
  .list-block.tablet-inset .content-block-title {
    margin-left: 0;
    margin-right: 0;
  }
  .list-block.tablet-inset ul {
    border-radius: 7px;
    border-top: none;
    border-bottom: none;
  }
  .list-block.tablet-inset li:first-child > a {
    border-radius: 7px 7px 0 0;
  }
  .list-block.tablet-inset li:last-child > a {
    border-radius: 0 0 7px 7px;
  }
  .list-block.tablet-inset li:first-child:last-child > a {
    border-radius: 7px;
  }
  .list-block.tablet-inset .content-block-title {
    margin-left: 0;
    margin-right: 0;
  }
  .list-block.tablet-inset ul {
    border-radius: 7px;
    border-top: none;
    border-bottom: none;
  }
  .list-block.tablet-inset li:first-child > a {
    border-radius: 7px 7px 0 0;
  }
  .list-block.tablet-inset li:last-child > a {
    border-radius: 0 0 7px 7px;
  }
  .list-block.tablet-inset li:first-child:last-child > a {
    border-radius: 7px;
  }
}
.list-block li {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.list-block .item-media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  flex-shrink: 0;
  -webkit-box-lines: single;
  -moz-box-lines: single;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: none;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 8px;
}
.list-block .item-media i + i {
  margin-left: 5px;
}
.list-block .item-media i + img {
  margin-left: 5px;
}
.list-block .item-media + .item-inner {
  margin-left: 15px;
}
.list-block .item-inner {
  padding-right: 15px;
  border-bottom: 1px solid #c8c7cc;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 7px;
  min-height: 44px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.list-block .item-title {
  -webkit-flex-shrink: 1;
  -ms-flex: 0 1 auto;
  flex-shrink: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.list-block .item-title.label {
  width: 35%;
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  flex-shrink: 0;
}
.list-block .item-input {
  width: 100%;
  margin-top: -8px;
  margin-bottom: -7px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -webkit-flex-shrink: 1;
  -ms-flex: 0 1 auto;
  flex-shrink: 1;
}
.list-block .item-after {
  white-space: nowrap;
  color: #8e8e93;
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  max-height: 28px;
}
.list-block .smart-select .item-after {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.list-block .item-link {
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  display: block;
  color: inherit;
}
.list-block .item-link .item-inner {
  padding-right: 35px;
  background: no-repeat -webkit-calc(100% - 15px) center;
  background: no-repeat calc(100% - 15px) center;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
  background-size: 10px 20px;
}
html:not(.watch-active-state) .list-block .item-link:active,
.list-block .item-link.active-state {
  -webkit-transition-duration: 0ms;
  transition-duration: 0ms;
  background-color: #d9d9d9;
}
html:not(.watch-active-state) .list-block .item-link:active .item-inner,
.list-block .item-link.active-state .item-inner {
  border-bottom-color: transparent;
}
.list-block .item-link.list-button {
  padding: 0 15px;
  text-align: center;
  color: #007aff;
  display: block;
  border-bottom: 1px solid #c8c7cc;
  line-height: 43px;
}
.list-block .item-content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 15px;
  min-height: 44px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.list-block .list-block-label {
  margin: 10px 0 35px;
  padding: 0 15px;
  font-size: 14px;
  color: #8f8f94;
}
.list-block .swipeout {
  overflow: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.list-block .swipeout.deleting {
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
.list-block .swipeout.deleting .swipeout-content {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}
.list-block .swipeout.transitioning .swipeout-content,
.list-block .swipeout.transitioning .swipeout-actions-right a,
.list-block .swipeout.transitioning .swipeout-actions-left a,
.list-block .swipeout.transitioning .swipeout-overswipe {
  -webkit-transition: 300ms;
  transition: 300ms;
}
.list-block .swipeout-content {
  position: relative;
  z-index: 10;
}
.list-block .swipeout-overswipe {
  -webkit-transition: 200ms left;
  transition: 200ms left;
}
.list-block .swipeout-actions-left,
.list-block .swipeout-actions-right {
  position: absolute;
  top: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.list-block .swipeout-actions-left a,
.list-block .swipeout-actions-right a {
  padding: 0 30px;
  color: #fff;
  background: #c7c7cc;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  left: 0;
}
.list-block .swipeout-actions-left a:after,
.list-block .swipeout-actions-right a:after {
  content: '';
  position: absolute;
  top: 0;
  width: 600%;
  height: 100%;
  background: inherit;
  z-index: -1;
}
.list-block .swipeout-actions-left a.swipeout-delete,
.list-block .swipeout-actions-right a.swipeout-delete {
  background: #ff3b30;
}
.list-block .swipeout-actions-right {
  right: 0%;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}
.list-block .swipeout-actions-right a:after {
  left: 100%;
  margin-left: -1px;
}
.list-block .swipeout-actions-left {
  left: 0%;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}
.list-block .swipeout-actions-left a:after {
  right: 100%;
  margin-right: -1px;
}
.list-block .item-subtitle {
  font-size: 15px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  text-overflow: ellipsis;
}
.list-block .item-text {
  font-size: 15px;
  color: #8e8e93;
  line-height: 21px;
  position: relative;
  overflow: hidden;
  height: 42px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}
.list-block.media-list .item-title,
.list-block li.media-item .item-title {
  font-weight: 500;
}
.list-block.media-list .item-inner,
.list-block li.media-item .item-inner {
  display: block;
  padding-top: 10px;
  padding-bottom: 9px;
  -ms-flex-item-align: stretch;
  -webkit-align-self: stretch;
  align-self: stretch;
}
.list-block.media-list .item-link .item-inner,
.list-block li.media-item .item-link .item-inner {
  background: none;
  padding-right: 15px;
}
.list-block.media-list .item-link .item-title-row,
.list-block li.media-item .item-link .item-title-row {
  padding-right: 20px;
  background: no-repeat right center;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
  background-size: 10px 20px;
}
.list-block.media-list .item-media,
.list-block li.media-item .item-media {
  padding-top: 9px;
  padding-bottom: 10px;
}
.list-block.media-list .item-media img,
.list-block li.media-item .item-media img {
  display: block;
}
.list-block.media-list .item-title-row,
.list-block li.media-item .item-title-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.list-block .list-group:nth-child(n+2) ul {
  border-top: none;
}
.list-block .item-divider,
.list-block .list-group-title {
  background: #f7f7f7;
  border-top: 1px solid #c8c7cc;
  margin-top: -1px;
  padding: 4px 15px;
  white-space: nowrap;
  position: relative;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #8e8e93;
}
.list-block .list-group-title {
  position: relative;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 0px;
  z-index: 10;
  margin-top: 0;
  border-top: none;
}
.list-block .sortable-handler {
  position: absolute;
  right: 0;
  top: 0;
  height: -webkit-calc(100% - 1px);
  height: calc(100% - 1px);
  z-index: 10;
  background-repeat: no-repeat;
  background-size: 18px 12px;
  background-position: center;
  width: 35px;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='%23c7c7cc'><path d='M0,2V0h22v2H0z'/><path d='M0,7V5h22v2H0z'/><path d='M0,12v-2h22v2H0z'/></svg>");
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
.list-block.sortable .item-inner {
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
.list-block.sortable-opened .sortable-handler {
  visibility: visible;
  opacity: 1;
}
.list-block.sortable-opened .item-inner,
.list-block.sortable-opened .item-link .item-inner {
  padding-right: 35px;
}
.list-block.sortable-opened .item-link .item-inner,
.list-block.sortable-opened .item-link .item-title-row {
  background-image: none;
}
.list-block.sortable-sorting li {
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
.list-block li.sorting {
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);
  -webkit-transition-duration: 0ms;
  transition-duration: 0ms;
}
.list-block li.sorting .item-inner {
  border-bottom: none;
}
.list-block li:last-child .list-button {
  border-bottom: none;
}
.list-block li:last-child .item-inner,
.list-block li:last-child li:last-child .item-inner {
  border-bottom: none;
}
.list-block li li:last-child .item-inner,
.list-block li:last-child li .item-inner {
  border-bottom: 1px solid #c8c7cc;
}
html.retina.ios-gt-7 .list-block ul {
  border-top-width: 0.5px;
  border-bottom-width: 0.5px;
}
html.retina.ios-gt-7 .list-block li:not(:last-child) .item-inner {
  border-bottom-width: 0.5px;
}
html.retina.ios-gt-7 .item-divider {
  border-top-width: 0.5px;
  margin-top: -0.5px;
}
html.retina.ios-gt-7 .item-link.list-button {
  border-bottom-width: 0.5px;
}
/*form list*/
.ui-form-list {
    margin-bottom: 20px;
    padding-bottom: 1px;
    background: white;
    border-style: solid;
    border-color: #e5e5eb;
    border-width: 1px 0 1px 0;
}
.ui-form-list .ui-item{
padding-left: 20px;
}
.ui-form-list .ui-item-inner{
padding-right: 15px;
border-bottom: 1px solid #c8c7cc;
width: 100%;
padding-top: 8px;
padding-bottom: 7px;
min-height: 44px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.ui-form-list .ui-item-title{
-webkit-flex-shrink: 1;
-ms-flex: 0 1 auto;
flex-shrink: 1;
white-space: nowrap;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.ui-form-list .ui-item-input{
width: 100%;
margin-top: -8px;
margin-bottom: -7px;
-webkit-box-flex: 1;
-ms-flex: 1;
-webkit-flex-shrink: 1;
-ms-flex: 0 1 auto;
flex-shrink: 1;
}
.ui-form-list .ui-item-title.label {
width: 35%;
-webkit-flex-shrink: 0;
-ms-flex: 0 0 auto;
flex-shrink: 0;
}
.ui-item-input input[type=text], .ui-item-input input[type=password], .ui-item-input input[type=email], .ui-item-input input[type=tel], .ui-item-input input[type=url], .ui-item-input input[type=date], .ui-item-input input[type=datetime-local], .ui-item-input input[type=time], .ui-item-input input[type=number], .ui-item-input select, .ui-item-input textarea {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: none;
background: 0 0;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
display: block;
padding: 0 0 0 5px;
margin: 0;
width: 100%;
height: 43px;
color: #000;
font-size: 17px;
font-family: inherit;
line-height: 43px;
}
.ui-form-list .ui-item:last-child .ui-item-inner{
border-bottom: none;
}
/*end form list*/

/* SearchBar */

.ui-search {
    position: relative;
    background: #D5D5D5;
    padding:6px 8px;
    box-shadow: 0 1px rgba(0, 0, 0, 0.07), 0 1px 1px rgba(0, 0, 0, 0.05);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.ui-search-form {
    background: #fff;
    width: 100%;
    display: block;
    border-radius: 4px;
    padding: 0 0 0 22px;
	box-sizing: border-box;
}

.ui-search-form:before {
    display: block;
    position: absolute;
    top: 12px;
    left: 12px;
    background: url(../images/icon-search.png?embed) no-repeat;
    background-size: 16px;
    width: 16px;
    height: 16px;
    content: "";
}

.ui-search-input {
    display: inline-block;
    height: 28px;
    width: 100%;
    background-color: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
    line-height: 16px;
    -webkit-appearance: none;
    /*
        Why not use -webkit-user-modify: read-write-plaintext-only to avoid input elements on android 4.x can not be styled when focused.
        I test on andorid 4.0.3 it's reset the default style when input focused, but this trigger another problem that user cannot input multi words.
        @see https://code.google.com/p/android/issues/detail?id=24746
    */

}

.ui-search-input::-webkit-input-placeholder{
    padding-top: 2px;
}

.ui-search-input::-webkit-search-cancel-button {
    display: none;
}

.ui-search-cancel {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    width: 16%;
    font-size: 16px;
    text-align: center;
    color: #858585;
	margin:0;
	color:#FFFFFF;
}

.ui-search-reset {
    display: none;
    position: absolute;
    top: 50%;
    left: 78%;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    background-color: #858585;
    color: #fff;
    border-radius: 14px;
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 10px;
    text-align: center;
}

.ui-search.js-focus .ui-search-cancel {
    display: block;
}

.ui-search.js-focus .ui-search-form {
    width: 85%;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

/* TODO: reset button */
.ui-search.js-input .ui-search-reset {
    display: block;
}

/*SearchBar */
